package com.gistmap.sideline.payload;

import com.gistmap.sideline.constraints.IsMobile;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

@Data
public class TaskRequest {

    @NotBlank
    @Size(min = 1, max = 30)
    private String title;

    private String content;

    @IsMobile
    @NotBlank
    private String tel;

    private String wechat;

}
